<template>
  <div>
    <!-- <v-header></v-header>
    <div class="navmenu">
      <el-col :span="4">
        <el-menu
          default-active="1"
          class="el-menu-vertical-demo"
          @open="handleOpen"
          @close="handleClose"
          :router=router
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
          >
          <el-submenu index="1">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>公司信息</span>
            </template>
            <el-menu-item index="company-info">公司简介</el-menu-item>
            <el-menu-item index="1-2">规章制度</el-menu-item>
            <el-menu-item index="1-3">企业管理</el-menu-item>
          </el-submenu>
          <el-submenu index="2">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>个人计划</span>
            </template>
            <el-menu-item index="2-1">周计划</el-menu-item>
            <el-menu-item index="2-2">月计划</el-menu-item>
            <el-menu-item index="2-3">年计划</el-menu-item>
          </el-submenu>
          <el-submenu index="3">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>客户管理</span>
            </template>
            <el-menu-item index="customer-info">客户信息</el-menu-item>
            <el-menu-item index="3-2">项目状态</el-menu-item>
            <el-menu-item index="3-3">订单管理</el-menu-item>
          </el-submenu>
        </el-menu>
      </el-col>
    </div>
    <div class="content">
      <keep-alive>
      <router-view ></router-view>
      </keep-alive>
    </div> -->
    <router-view ></router-view>
  </div>
</template>

<script>
// import header from './components/app-header/appHeader'

export default {
  name: 'App'
  // components: {
  //   'v-header': header
  // },
  // data () {
  //   return {
  //     router: true
  //   }
  // },
  // methods: {
  //   handleOpen (key, keyPath) {
  //     console.log(key, keyPath)
  //   },
  //   handleClose (key, keyPath) {
  //     console.log(key, keyPath)
  //   }
  // }
}
</script>

<style lang="stylus" rel="stylesheet/stylus">
  body,html
    background:#cccccc
    height : 100%
</style>
